#ifndef __SWAPPING_H_
#define __SWAPPING_H_

int swap_init(off_t swap_sz, const char *path);
void swap_deinit();

off_t swap_in(void *addr, off_t size);
int swap_out(void *addr, off_t offset, off_t size);

#endif // __SWAPPING_H_
